Integrand size = 22, antiderivative size = 189 \[ \int \frac {1}{x^2 \sqrt {a+b x} (c+d x)^{5/2}} \, dx=-\frac {d (3 b c-5 a d) \sqrt {a+b x}}{3 a c^2 (b c-a d) (c+d x)^{3/2}}-\frac {\sqrt {a+b x}}{a c x (c+d x)^{3/2}}-\frac {d \left (3 b^2 c^2-22 a b c d+15 a^2 d^2\right ) \sqrt {a+b x}}{3 a c^3 (b c-a d)^2 \sqrt {c+d x}}+\frac {(b c+5 a d) \text {arctanh}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{a^{3/2} c^{7/2}} \]
[Out]
Time = 0.13 (sec) , antiderivative size = 189, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.227, Rules used = {105, 157, 12, 95, 214} \[ \int \frac {1}{x^2 \sqrt {a+b x} (c+d x)^{5/2}} \, dx=\frac {(5 a d+b c) \text {arctanh}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{a^{3/2} c^{7/2}}-\frac {d \sqrt {a+b x} \left (15 a^2 d^2-22 a b c d+3 b^2 c^2\right )}{3 a c^3 \sqrt {c+d x} (b c-a d)^2}-\frac {d \sqrt {a+b x} (3 b c-5 a d)}{3 a c^2 (c+d x)^{3/2} (b c-a d)}-\frac {\sqrt {a+b x}}{a c x (c+d x)^{3/2}} \]
[In]
[Out]
Rule 12
Rule 95
Rule 105
Rule 157
Rule 214
Rubi steps \begin{align*} \text {integral}& = -\frac {\sqrt {a+b x}}{a c x (c+d x)^{3/2}}-\frac {\int \frac {\frac {1}{2} (b c+5 a d)+2 b d x}{x \sqrt {a+b x} (c+d x)^{5/2}} \, dx}{a c} \\ & = -\frac {d (3 b c-5 a d) \sqrt {a+b x}}{3 a c^2 (b c-a d) (c+d x)^{3/2}}-\frac {\sqrt {a+b x}}{a c x (c+d x)^{3/2}}+\frac {2 \int \frac {-\frac {3}{4} (b c-a d) (b c+5 a d)-\frac {1}{2} b d (3 b c-5 a d) x}{x \sqrt {a+b x} (c+d x)^{3/2}} \, dx}{3 a c^2 (b c-a d)} \\ & = -\frac {d (3 b c-5 a d) \sqrt {a+b x}}{3 a c^2 (b c-a d) (c+d x)^{3/2}}-\frac {\sqrt {a+b x}}{a c x (c+d x)^{3/2}}-\frac {d \left (3 b^2 c^2-22 a b c d+15 a^2 d^2\right ) \sqrt {a+b x}}{3 a c^3 (b c-a d)^2 \sqrt {c+d x}}-\frac {4 \int \frac {3 (b c-a d)^2 (b c+5 a d)}{8 x \sqrt {a+b x} \sqrt {c+d x}} \, dx}{3 a c^3 (b c-a d)^2} \\ & = -\frac {d (3 b c-5 a d) \sqrt {a+b x}}{3 a c^2 (b c-a d) (c+d x)^{3/2}}-\frac {\sqrt {a+b x}}{a c x (c+d x)^{3/2}}-\frac {d \left (3 b^2 c^2-22 a b c d+15 a^2 d^2\right ) \sqrt {a+b x}}{3 a c^3 (b c-a d)^2 \sqrt {c+d x}}-\frac {(b c+5 a d) \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx}{2 a c^3} \\ & = -\frac {d (3 b c-5 a d) \sqrt {a+b x}}{3 a c^2 (b c-a d) (c+d x)^{3/2}}-\frac {\sqrt {a+b x}}{a c x (c+d x)^{3/2}}-\frac {d \left (3 b^2 c^2-22 a b c d+15 a^2 d^2\right ) \sqrt {a+b x}}{3 a c^3 (b c-a d)^2 \sqrt {c+d x}}-\frac {(b c+5 a d) \text {Subst}\left (\int \frac {1}{-a+c x^2} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{a c^3} \\ & = -\frac {d (3 b c-5 a d) \sqrt {a+b x}}{3 a c^2 (b c-a d) (c+d x)^{3/2}}-\frac {\sqrt {a+b x}}{a c x (c+d x)^{3/2}}-\frac {d \left (3 b^2 c^2-22 a b c d+15 a^2 d^2\right ) \sqrt {a+b x}}{3 a c^3 (b c-a d)^2 \sqrt {c+d x}}+\frac {(b c+5 a d) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{a^{3/2} c^{7/2}} \\ \end{align*}
Time = 0.30 (sec) , antiderivative size = 158, normalized size of antiderivative = 0.84 \[ \int \frac {1}{x^2 \sqrt {a+b x} (c+d x)^{5/2}} \, dx=-\frac {\sqrt {a+b x} \left (3 b^2 c^2 (c+d x)^2-2 a b c d \left (3 c^2+15 c d x+11 d^2 x^2\right )+a^2 d^2 \left (3 c^2+20 c d x+15 d^2 x^2\right )\right )}{3 a c^3 (b c-a d)^2 x (c+d x)^{3/2}}+\frac {(b c+5 a d) \text {arctanh}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{a^{3/2} c^{7/2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(918\) vs. \(2(161)=322\).
Time = 0.59 (sec) , antiderivative size = 919, normalized size of antiderivative = 4.86
method | result | size |
default | \(\frac {\sqrt {b x +a}\, \left (15 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) a^{3} d^{5} x^{3}-27 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) a^{2} b c \,d^{4} x^{3}+9 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) a \,b^{2} c^{2} d^{3} x^{3}+3 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) b^{3} c^{3} d^{2} x^{3}+30 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) a^{3} c \,d^{4} x^{2}-54 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) a^{2} b \,c^{2} d^{3} x^{2}+18 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) a \,b^{2} c^{3} d^{2} x^{2}+6 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) b^{3} c^{4} d \,x^{2}+15 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) a^{3} c^{2} d^{3} x -27 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) a^{2} b \,c^{3} d^{2} x +9 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) a \,b^{2} c^{4} d x +3 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) b^{3} c^{5} x -30 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, a^{2} d^{4} x^{2}+44 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, a b c \,d^{3} x^{2}-6 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, b^{2} c^{2} d^{2} x^{2}-40 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, a^{2} c \,d^{3} x +60 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, a b \,c^{2} d^{2} x -12 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, b^{2} c^{3} d x -6 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, a^{2} c^{2} d^{2}+12 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, a b \,c^{3} d -6 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, b^{2} c^{4}\right )}{6 a \,c^{3} \left (a d -b c \right )^{2} \sqrt {a c}\, x \sqrt {\left (b x +a \right ) \left (d x +c \right )}\, \left (d x +c \right )^{\frac {3}{2}}}\) | \(919\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 454 vs. \(2 (161) = 322\).
Time = 0.68 (sec) , antiderivative size = 928, normalized size of antiderivative = 4.91 \[ \int \frac {1}{x^2 \sqrt {a+b x} (c+d x)^{5/2}} \, dx=\left [\frac {3 \, {\left ({\left (b^{3} c^{3} d^{2} + 3 \, a b^{2} c^{2} d^{3} - 9 \, a^{2} b c d^{4} + 5 \, a^{3} d^{5}\right )} x^{3} + 2 \, {\left (b^{3} c^{4} d + 3 \, a b^{2} c^{3} d^{2} - 9 \, a^{2} b c^{2} d^{3} + 5 \, a^{3} c d^{4}\right )} x^{2} + {\left (b^{3} c^{5} + 3 \, a b^{2} c^{4} d - 9 \, a^{2} b c^{3} d^{2} + 5 \, a^{3} c^{2} d^{3}\right )} x\right )} \sqrt {a c} \log \left (\frac {8 \, a^{2} c^{2} + {\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{2} + 4 \, {\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {a c} \sqrt {b x + a} \sqrt {d x + c} + 8 \, {\left (a b c^{2} + a^{2} c d\right )} x}{x^{2}}\right ) - 4 \, {\left (3 \, a b^{2} c^{5} - 6 \, a^{2} b c^{4} d + 3 \, a^{3} c^{3} d^{2} + {\left (3 \, a b^{2} c^{3} d^{2} - 22 \, a^{2} b c^{2} d^{3} + 15 \, a^{3} c d^{4}\right )} x^{2} + 2 \, {\left (3 \, a b^{2} c^{4} d - 15 \, a^{2} b c^{3} d^{2} + 10 \, a^{3} c^{2} d^{3}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{12 \, {\left ({\left (a^{2} b^{2} c^{6} d^{2} - 2 \, a^{3} b c^{5} d^{3} + a^{4} c^{4} d^{4}\right )} x^{3} + 2 \, {\left (a^{2} b^{2} c^{7} d - 2 \, a^{3} b c^{6} d^{2} + a^{4} c^{5} d^{3}\right )} x^{2} + {\left (a^{2} b^{2} c^{8} - 2 \, a^{3} b c^{7} d + a^{4} c^{6} d^{2}\right )} x\right )}}, -\frac {3 \, {\left ({\left (b^{3} c^{3} d^{2} + 3 \, a b^{2} c^{2} d^{3} - 9 \, a^{2} b c d^{4} + 5 \, a^{3} d^{5}\right )} x^{3} + 2 \, {\left (b^{3} c^{4} d + 3 \, a b^{2} c^{3} d^{2} - 9 \, a^{2} b c^{2} d^{3} + 5 \, a^{3} c d^{4}\right )} x^{2} + {\left (b^{3} c^{5} + 3 \, a b^{2} c^{4} d - 9 \, a^{2} b c^{3} d^{2} + 5 \, a^{3} c^{2} d^{3}\right )} x\right )} \sqrt {-a c} \arctan \left (\frac {{\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {-a c} \sqrt {b x + a} \sqrt {d x + c}}{2 \, {\left (a b c d x^{2} + a^{2} c^{2} + {\left (a b c^{2} + a^{2} c d\right )} x\right )}}\right ) + 2 \, {\left (3 \, a b^{2} c^{5} - 6 \, a^{2} b c^{4} d + 3 \, a^{3} c^{3} d^{2} + {\left (3 \, a b^{2} c^{3} d^{2} - 22 \, a^{2} b c^{2} d^{3} + 15 \, a^{3} c d^{4}\right )} x^{2} + 2 \, {\left (3 \, a b^{2} c^{4} d - 15 \, a^{2} b c^{3} d^{2} + 10 \, a^{3} c^{2} d^{3}\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{6 \, {\left ({\left (a^{2} b^{2} c^{6} d^{2} - 2 \, a^{3} b c^{5} d^{3} + a^{4} c^{4} d^{4}\right )} x^{3} + 2 \, {\left (a^{2} b^{2} c^{7} d - 2 \, a^{3} b c^{6} d^{2} + a^{4} c^{5} d^{3}\right )} x^{2} + {\left (a^{2} b^{2} c^{8} - 2 \, a^{3} b c^{7} d + a^{4} c^{6} d^{2}\right )} x\right )}}\right ] \]
[In]
[Out]
\[ \int \frac {1}{x^2 \sqrt {a+b x} (c+d x)^{5/2}} \, dx=\int \frac {1}{x^{2} \sqrt {a + b x} \left (c + d x\right )^{\frac {5}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {1}{x^2 \sqrt {a+b x} (c+d x)^{5/2}} \, dx=\int { \frac {1}{\sqrt {b x + a} {\left (d x + c\right )}^{\frac {5}{2}} x^{2}} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 605 vs. \(2 (161) = 322\).
Time = 0.78 (sec) , antiderivative size = 605, normalized size of antiderivative = 3.20 \[ \int \frac {1}{x^2 \sqrt {a+b x} (c+d x)^{5/2}} \, dx=\frac {2 \, \sqrt {b x + a} {\left (\frac {2 \, {\left (4 \, b^{4} c^{4} d^{4} {\left | b \right |} - 3 \, a b^{3} c^{3} d^{5} {\left | b \right |}\right )} {\left (b x + a\right )}}{b^{4} c^{8} d - 2 \, a b^{3} c^{7} d^{2} + a^{2} b^{2} c^{6} d^{3}} + \frac {3 \, {\left (3 \, b^{5} c^{5} d^{3} {\left | b \right |} - 5 \, a b^{4} c^{4} d^{4} {\left | b \right |} + 2 \, a^{2} b^{3} c^{3} d^{5} {\left | b \right |}\right )}}{b^{4} c^{8} d - 2 \, a b^{3} c^{7} d^{2} + a^{2} b^{2} c^{6} d^{3}}\right )}}{3 \, {\left (b^{2} c + {\left (b x + a\right )} b d - a b d\right )}^{\frac {3}{2}}} + \frac {{\left (\sqrt {b d} b^{3} c + 5 \, \sqrt {b d} a b^{2} d\right )} \arctan \left (-\frac {b^{2} c + a b d - {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2}}{2 \, \sqrt {-a b c d} b}\right )}{\sqrt {-a b c d} a b c^{3} {\left | b \right |}} - \frac {2 \, {\left (\sqrt {b d} b^{5} c^{2} - 2 \, \sqrt {b d} a b^{4} c d + \sqrt {b d} a^{2} b^{3} d^{2} - \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} b^{3} c - \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a b^{2} d\right )}}{{\left (b^{4} c^{2} - 2 \, a b^{3} c d + a^{2} b^{2} d^{2} - 2 \, {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} b^{2} c - 2 \, {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a b d + {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4}\right )} a c^{3} {\left | b \right |}} \]
[In]
[Out]
Timed out. \[ \int \frac {1}{x^2 \sqrt {a+b x} (c+d x)^{5/2}} \, dx=\int \frac {1}{x^2\,\sqrt {a+b\,x}\,{\left (c+d\,x\right )}^{5/2}} \,d x \]
[In]
[Out]